package com.whmskj.xjlhsc.mobie.equipment.service.impl;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.whmskj.xjlhsc.mobie.equipment.entity.SparePart;
import com.whmskj.xjlhsc.mobie.equipment.mapper.SparePartMapper;
import com.whmskj.xjlhsc.mobie.equipment.service.SparePartService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: XJLHSC
 * @BelongsPackage: com.whmskj.xjlhsc.mobie.spareparts.service.impl
 * @Author: lk
 * @CreateTime: 2025-07-09
 * @Description: TODO
 * @Version: 1.0
 */
@Service
@Slf4j
@RequiredArgsConstructor
public class SparePartServiceImpl extends ServiceImpl<SparePartMapper, SparePart> implements SparePartService, IService<SparePart> {
    private final SparePartMapper sparePartMapper;


    @Override
    public List<SparePart> getList(SparePart fo) {
      return sparePartMapper.getList(fo);
    }


    @Override
    public List<String> selectPartTypes() {
        return sparePartMapper.selectPartTypes();
    }
}
